Quiet down wbinvd warning for verbose/debug builds of xen.
authorsmh22@firebug.cl.cam.ac.uk <smh22@firebug.cl.cam.ac.uk>
Thu, 9 Feb 2006 10:32:17 +0000 (11:32 +0100)
committersmh22@firebug.cl.cam.ac.uk <smh22@firebug.cl.cam.ac.uk>
Thu, 9 Feb 2006 10:32:17 +0000 (11:32 +0100)
Signed-off-by: Steven Hand <steven@xensource.com>
xen/arch/x86/traps.c

index c1499baeb6473827b891ba9cc0b438f8815c45f3..f0fb8e5e283308d619f35be22a2856180f7dbf6f 100644 (file)
@@ -877,7 +877,9 @@ static int emulate_privileged_op(struct cpu_user_regs *regs)
     case 0x09: /* WBINVD */
         /* Ignore the instruction if unprivileged. */
         if ( !cache_flush_permitted(v->domain) )
-            DPRINTK("Non-physdev domain attempted WBINVD.\n");
+            /* Non-physdev domain attempted WBINVD; ignore for now since
+               newer linux uses this in some start-of-day timing loops */
+            ;
         else
             wbinvd();
         break;